﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Resto.CostControl.Common.Consts
{
    /// <summary>
    /// 字典类型常量
    /// </summary>
    public class DictionaryTypeConsts
    {
        #region 字典类型的类型代码

        public const string System_DictionaryType_Code = "SystemDictionaryType";

        #endregion

        #region 字典类型代码

        /// <summary>
        /// 菜肴分类
        /// </summary>
        public const string String_DishCategory_Code = "DishCategory";

        /// <summary>
        /// 品名分类
        /// </summary>
        public const string String_MaterialCategory_Code = "MaterialCategory";

        /// <summary>
        /// 所属区域
        /// </summary>
        public const string String_Area_Code = "Area";

        /// <summary>
        /// 烹调方式
        /// </summary>
        public const string String_CookType_Code = "CookType";

        /// <summary>
        /// 主料大类
        /// </summary>
        public const string String_MainMaterialCategory_Code = "MainMaterialCategory";

        /// <summary>
        /// 规格
        /// </summary>
        public const string String_MaterialSpec_Code = "MaterialSpec";

        /// <summary>
        /// 品名大类代码
        /// </summary>
        public const string String_MaterialCategoryCode_Code = "MaterialCategoryCode";

        /// <summary>
        /// 单位
        /// </summary>
        public const string String_MaterialUnit_Code = "MaterialUnit";

        /// <summary>
        /// 是原材料，还是半成品
        /// </summary>
        public const string String_MaterialType_Code = "MaterialType";

        #endregion

        #region 字典类型名称

        public const string String_DishCategory_Name = "菜肴分类";

        public const string String_MaterialCategory_Name = "品名分类";

        public const string String_Area_Name = "项目点区域";

        public const string String_CookType_Name = "烹调方式";

        public const string String_MainMaterialCategory_Name = "主料大类";

        public const string String_MaterialSpec_Name = "品名规格";

        public const string String_MaterialCategoryCode_Name = "品名大类代码";

        public const string String_MaterialUnit_Name = "品名单位";

        public const string String_MaterialType_Name = "品名类型";

        #endregion

        #region 字典类型数组

        /// <summary>
        /// 所有字典类型代码的集合
        /// </summary>
        public static readonly string[] Array_DictionaryTypeCode = new string[]
        {
            String_DishCategory_Code,
            String_MaterialCategory_Code,
            String_Area_Code,
            String_CookType_Code,
            String_MainMaterialCategory_Code,
            String_MaterialSpec_Code,
            String_MaterialCategoryCode_Code,
            String_MaterialUnit_Code,
            String_MaterialType_Code,
        };

        /// <summary>
        /// 所有字典类型代码的集合
        /// </summary>
        public static readonly string[] Array_DictionaryTypeName = new string[]
        {
            String_DishCategory_Name,
            String_MaterialCategory_Name,
            String_Area_Name,
            String_CookType_Name,
            String_MainMaterialCategory_Name,
            String_MaterialSpec_Name,
            String_MaterialCategoryCode_Name,
            String_MaterialUnit_Name,
            String_MaterialType_Name,
        };

        #endregion

    }
}
